<template>
	<view class="page_wrap">

		<uv-swiper :list="list" height="260"></uv-swiper>
		<MyTabbar></MyTabbar>
	</view>
</template>

<script>
	import MyTabbar from "@/components/MyTabbar/index.vue"
	import {
		autoLogin
	} from "@/utils/autoLogin.js"
	import {
		getToken
	} from "@/utils/storage.js"
	export default {

		components: {
			MyTabbar,
		},
	
		computed: {},
		data() {
			return {
				list: [
					'https://cdn.uviewui.com/uview/swiper/swiper1.png',
					'https://cdn.uviewui.com/uview/swiper/swiper2.png',
					'https://cdn.uviewui.com/uview/swiper/swiper3.png',
				]
			}
		},
		async onLoad() {
			let token = getToken()
			console.log(token, "token")
			if (!token) {
				let a = await autoLogin()
			}
		},
		methods: {
			dropDownClick() {
				this.$refs.calendars.open();
			},
			dropDownChange() {},
			calendarsConfirm(e) {
				console.log(e)
			},
		}
	}
</script>

<style scoped lang="scss">
	.page_wrap {
		background-image: url('http://47.100.131.137:9000/sdzn-test/4f4b347e37894487beb4ba3a7b2327c1.png');
		background-size: 100%;
		background-position: top;
		background-repeat: no-repeat;
		background-color: #FFFBF6;
		min-height: 100vh;
	}

	.card_wrap {
		padding: 30rpx;

		.card_item {
			background: #FFFFFF;
			box-shadow: 6rpx 14rpx 26rpx 0rpx rgba(184, 184, 184, 0.2), -6rpx 0rpx 26rpx 0rpx rgba(184, 184, 184, 0.2);
			border-radius: 16rpx;
			height: 402rpx;
			padding: 40rpx;
			margin-bottom: 30rpx;

			.card_top {
				height: 300rpx;

				border-bottom: 4rpx solid #EAEAEA;
			}

			.card_bottom {
				justify-content: space-between;
				height: 100rpx;
			}

			.card_title {
				font-size: 36rpx;
				font-family: PingFang SC-Medium, PingFang SC;
				font-weight: 500;
				color: #333333;
				line-height: 42rpx;
			}

			.card_pro_title {
				font-size: 30rpx;
				font-family: PingFang SC-Medium, PingFang SC;
				font-weight: 500;
				color: #aaa;
				line-height: 35rpx;
				margin-top: 30rpx;

			}

			.card_content_wrap {
				margin-top: 30rpx;

				.card_content_left {
					margin-right: 20rpx;
				}

				.card_content_right {
					font-size: 26rpx;
					font-family: PingFang SC-Regular, PingFang SC;
					font-weight: 400;
					color: #333333;
					line-height: 30rpx;
				}
			}
		}
	}
</style>
